package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_unioncampwar_attack", autoSave = true,uploadCk = true,desc = "商帮-战斗")
public class LogUnionCampWarAttack extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "周id", isIndex = true)
    private int weekId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会")
    private String unionUid;
    @FieldTypeAnnotation(desc = "组id")
    private int groupId;
    @FieldTypeAnnotation(desc = "阵营id")
    private int campId;
    @FieldTypeAnnotation(desc = "进攻据点id")
    private int attackHoldId;
    @FieldTypeAnnotation(desc = "敌对阵营id")
    private int enemyCampId;
    @FieldTypeAnnotation(desc = "buff选择")
    private int buffId;
    @FieldTypeAnnotation(desc = "击败门客数")
    private long defeatNum;
    @FieldTypeAnnotation(desc = "奖励id")
    private String rewards;
    @FieldTypeAnnotation(desc = "扣血")
    private long subHp;
    @FieldTypeAnnotation(desc = "剩余血量")
    private long leftHp;
    @FieldTypeAnnotation(desc = "进攻类型")
    private int attackType;


    public LogUnionCampWarAttack(int weekId, long userId, String unionUid, int groupId, int campId, int attackHoldId, int enemyCampId, int buffId, long defeatNum, String rewards, long subHp, long leftHp, int attackType) {
        this.weekId = weekId;
        this.userId = userId;
        this.unionUid = unionUid;
        this.groupId = groupId;
        this.campId = campId;
        this.attackHoldId = attackHoldId;
        this.enemyCampId = enemyCampId;
        this.buffId = buffId;
        this.defeatNum = defeatNum;
        this.rewards = rewards;
        this.subHp = subHp;
        this.leftHp = leftHp;
        this.attackType = attackType;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public int getAttackHoldId() {
        return attackHoldId;
    }

    public void setAttackHoldId(int attackHoldId) {
        this.attackHoldId = attackHoldId;
    }

    public int getEnemyCampId() {
        return enemyCampId;
    }

    public void setEnemyCampId(int enemyCampId) {
        this.enemyCampId = enemyCampId;
    }

    public int getBuffId() {
        return buffId;
    }

    public void setBuffId(int buffId) {
        this.buffId = buffId;
    }

    public long getDefeatNum() {
        return defeatNum;
    }

    public void setDefeatNum(long defeatNum) {
        this.defeatNum = defeatNum;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public long getSubHp() {
        return subHp;
    }

    public void setSubHp(long subHp) {
        this.subHp = subHp;
    }

    public long getLeftHp() {
        return leftHp;
    }

    public void setLeftHp(long leftHp) {
        this.leftHp = leftHp;
    }

    public int getAttackType() {
        return attackType;
    }

    public void setAttackType(int attackType) {
        this.attackType = attackType;
    }


}
